package com.sunwayhorizo.health.business.patad.encounter;

import javax.ejb.Local;

import com.sunwayhorizo.health.business.dto.patad.encounter.PatientEncounterDTO;
import com.sunwayhorizo.health.hl7.common.Hl7Exception;
import com.sunwayhorizo.health.hl7.datatypes.CS;
import com.sunwayhorizo.health.hl7.datatypes.II;
import com.sunwayhorizo.health.hl7.rim.Patient;
import com.sunwayhorizo.health.hl7.rim.PatientEncounter;
import com.sunwayhorizo.health.hl7.rim.Role;

@Local
public interface PatientEncounterCommonManagerLocal
{
    void updatePateintEncounter(PatientEncounter act, CS status) throws Hl7Exception;

    void updateBedStatus(Role bed, CS status);

    Role findBedRole(PatientEncounterDTO dto) throws Hl7Exception;

    II getEcounterIdForOther(PatientEncounterDTO patientEncounterDTO, CS actCode) throws Hl7Exception;

    PatientEncounterDTO convertByPatient(PatientEncounterDTO pateintEncouterDTO, Patient patient) throws Hl7Exception;
}
